import request from '@/util/request'
import globalConfig from '@/config'

// 获取合伙人信息
export function getPartnerInfo(query) {
	return request({
	    url: '/user/v1/getpartnerinfo/',
	    method: 'GET',
      params: query
	})
}

// 获取合伙人消息
export function getPartnerMsg(query) {
	var params = {
		userid: query.userid
	}
	return request({
			baseURL: '',
	    url: query.isNext?query.isNext:globalConfig.requireUrl+'user/v1/getpartnermsg/',
	    method: 'GET',
      params: params
	})
}
